# mongodb
MONGODB_USER = 'tieba_hainu'
MONGODB_PASSWORD = 'hainu'
MONGODB_HOST = '127.0.0.1'
MONGODB_PORT = '17017'
MONGODB_DB_NAME = 'tieba_hainu'
if MONGODB_PASSWORD:
    MONGODB_CLIENT = 'mongodb://'+MONGODB_USER+':'+MONGODB_PASSWORD+'@'+MONGODB_HOST+':'+MONGODB_PORT
else:
    MONGODB_CLIENT = 'mongodb://'+MONGODB_HOST+':'+MONGODB_PORT
